package adminModel

import (
	"time"
)

type AdminWithGroupStruct struct {
	Id           int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	AdminId      int       `json:"admin_id" gorm:"type:int(11); COMMENT:'管理员id'"`
	AdminGroupId int       `json:"admin_group_id" gorm:"type:int(11); COMMENT:'分组id'"`
	CreatedAt    time.Time `json:"created_at" gorm:"type:datetime"`
	UpdatedAt    time.Time `json:"updated_at" gorm:"type:datetime"`
}

func (c *AdminWithGroupStruct) TableName() string {
	return "admin_with_group"
}
